<?php
/**
 * This file belongs to huakaili project
 *
 * @author jszhang
 */
?>

<div id="sidebar_right">


<?php if( $pageVars['recomenedlist'] )  {?>
		<div class="hot_list">
			<div class="hot_list_t">
				<div class="hot_list_title">推荐评单</div>
				<div class="more"><a href="#">更多</a></div>
			</div>
			<?php
			foreach( $pageVars['recomenedlist'] as $item ){
		?>
			<div class="hot_list_item">
				<p class="hot_list_c">
					<a href="<?php echo edp_href_link(PAGENAME_LIST_INFO,'lid='.$item['id']);?>">
						<?php secho( $item['title'] ); ?>
					</a>
				</p>
				<p class="hot_list_info">by&nbsp;<a href="<?php echo edp_href_link(PAGENAME_USER_INFO,'lid='.$item['user_id']);?>"><?php secho( $item['nick'] ); ?></a> @ <?php echo substr($item['create_time'], 0, 10 ); ?></p>
			</div>
			<?php
			}
	  ?>
		</div>
<?php } ?>


<?php if( $pageVars['hotshoplist'] )  {?>
		<div class="hot_shop">
			<div class="hot_shop_t">本站热评店铺<span style="margin-left:55px">HOT</span></div>
		<?php
			foreach( $pageVars['hotshoplist'] as $item ){
		?>
			<div class="hot_shop_item">
				<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO,'sid='.$item['id']);?>">
					<img src="<?php echo $item['logo_url'];?>" alt="<?php secho( $item['shop_name'] ); ?>" class="hot_shop_item_img"/>
				</a>
				<div class="hot_shop_c">
					<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO,'sid='.$item['id']);?>">
					<?php secho( $item['shop_name'] ); ?>
					</a>
					<!--  <p class="hot_shop_from">来自：<a href="#">淘宝</a></p>-->
					<p class="hot_shop_count"><?php echo $item['review_count'];?>封评论</p>				
				</div>

				<div style="clear:both"></div>
			</div>
			<?php
			}
	  ?>
		</div>
	<?php }?>
	
<?php if( $pageVars['hotmalllist'] )  {?>
		<div class="hot_shop">
			<div class="hot_shop_t">本站热评商城<span style="margin-left:55px">HOT</span></div>
		<?php
			foreach( $pageVars['hotmalllist'] as $item ){
		?>
			<div class="hot_shop_item">
				<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO,'sid='.$item['id']);?>">
					<img src="<?php echo $item['logo_url'];?>" alt="<?php secho( $item['shop_name'] ); ?>" class="hot_shop_item_img2"/>
				</a>
				<div class="hot_shop_c2">
					<a href="<?php echo edp_href_link(PAGENAME_SHOP_INFO,'sid='.$item['id']);?>">
					<?php secho( $item['shop_name'] ); ?>
					</a>
					<p class="hot_shop_count"><?php echo $item['review_count'];?>封评论</p>	
				</div>
				<div style="clear:both"></div>
			</div>
			<?php
			}
	  ?>
		</div>
	<?php }?>		
		<div class="ad_pic">

      </div>
</div>
